#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007, pysozluk-qt Development Team
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# Please read the COPYING file.
#


from PyQt4 import QtCore, QtGui
from ui_about import Ui_AboutWindow

class AboutBase(QtGui.QWidget):
	def __init__(self, *args):
		apply(QtGui.QWidget.__init__, (self,) + args)

		self.dw = QtGui.QDesktopWidget()
		self.w = QtGui.QWidget()

		self.win = Ui_AboutWindow()
		self.win.setupUi(self.w)
		
		self.w.move( (self.dw.screenGeometry(self.dw.primaryScreen())).width()-self.w.width(), (self.dw.screenGeometry(self.dw.primaryScreen()).height())/2 )

		self.w.show()
